package utils

import (
	"math/big"
	"strconv"
)

func Bigmath(count, miner float64) float64 {
	var countbig = big.NewFloat(count * 10000000000000000)
	var minerbig = big.NewFloat(miner * 10000000000000000)
	var t = countbig.Quo(countbig.Sub(countbig, minerbig), big.NewFloat(10000000000000000))
	v2, _ := strconv.ParseFloat(t.String(), 64)
	return v2
}
